# -*- coding: utf-8 -*-
# filename: main.py
import web
from available import Available
from smscode import Smscode
from sign import Sign
from prizeresult import prizeResult
from bulletmessage import bulletMessage
from bulletavailable import bulletAvailable
from prizebegin import prizeBegin
from prizedonation import prizeDonation
from donationinfo import donationInfo
from prizewinners import prizeWinners
urls = (
    '/api/mobile/available', 'Available',
    '/api/smscode','Smscode',
    '/api/sign','Sign',
    '/api/prize/result','prizeResult',
    '/api/bullet/message','bulletMessage',
    '/api/bullet/available','bulletAvailable',
    '/api/bullet/prize/begin','prizeBegin',
    '/api/prize/donation','prizeDonation',
    '/api/prize/donationinfo','donationInfo',
    '/api/prize/winners','prizeWinners',
    '/','index'
)

class index:
    def GET(self):
        return "Hello,baby! Welcome to zhangxing's home!!!"

if __name__ == '__main__':
    app = web.application(urls, globals())
    app.run()
